package com.woniuxy.hotel.room.dto;

/**
 * @author Administrator
 * @title: ResultDTO
 * @projectName SSMSD
 * @description: TODO
 * @date 2019/7/3015:26
 */
public class ResultDTO {
    private Integer code;
    private String massage;
    private Object object;

    public ResultDTO() {
        super();
    }

    public ResultDTO(Integer code, String massage) {
        this.code = code;
        this.massage = massage;
    }

    public ResultDTO(Integer code, String massage, Object object) {
        this.code = code;
        this.massage = massage;
        this.object = object;
    }

    @Override
    public String toString() {
        return "ResultDTO{" +
                "code=" + code +
                ", massage='" + massage + '\'' +
                ", object=" + object +
                '}';
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
